import Vue from 'vue'
import App from './App.vue'
import VueQuillEditor from 'vue-quill-editor'


// or require



import iView from 'iview';
import 'iview/dist/styles/iview.css';    // 使用 CSS
import VueRouter from 'vue-router'
import axios from 'axios'
import VueAxios from 'vue-axios'
import {routes} from './router.js';// 路由列表
import {store} from './store.js'

Vue.use(VueRouter);
Vue.use(iView);
Vue.use(VueAxios,axios);
Vue.use(VueQuillEditor)

const router=new VueRouter({
    routes,
    mode:'history'
})

new Vue({
  el: '#app',
    router,
    store,
  render: h => h(App)
})
